User.hasRole

Undocumented in source. Be warned that the author may not have intended to support it.
class User
bool
hasRole
(
int roleId
)

Meta